<template>
    <el-main>
        <ep-breadcrumb></ep-breadcrumb>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData:form,panel:panel}" showPerson personType="PERSON_ALL_EXACT" psTagType="PERSON_INJURY_QUERY">
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
			<epl-userMessage dataType="person" isCodeType idCount="10" :panel="panel">
                    <epl-userMessageItem title="核定总费用" :sum="form.total_money.value" :panel="panel">
                        
                    </epl-userMessageItem>
            </epl-userMessage>
                            <el-form :model="form" ref="form" :rules="rules">
               <ep-input colspan="8" label="核定总费用" name="total_money" :property="form.total_money" placeholder=""
                                   p="H"  ></ep-input>
             <el-collapse v-model="activeNames" >
        <el-collapse-item title="认定鉴定信息" name="1">
                <el-card class="ep-card">
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="工伤认定书编号" name="alc011" :property="form.alc011" placeholder=""
                                  p="D"  ></ep-input>
                        <ep-input colspan="8" label="单位管理码"  name="aab999" :property="form.aab999" placeholder=""
                                  p="D"  ></ep-input>
                        <ep-input colspan="8" label="单位名称" name="aab069" :property="form.aab069" placeholder=""
                                  p="D" ></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-date colspan="8" label="工伤发生时间" name="alc020" :property="form.alc020" placeholder=""
                                  p="D"  ></ep-date>
                        <ep-date colspan="8" label="工伤认定日期"  name="alc031" :property="form.alc031" placeholder=""
                                  p="D" ></ep-date>
                        <ep-select colspan="8" label="工伤认定结论" name="ala015" :property="form.ala015" placeholder=""
                                  p="D"  codetype="ALA015"  ></ep-select>
                    </el-row>       
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="伤害部位1" name="alc042" :property="form.alc042" placeholder=""
                                  p="D"  codetype="ALC042" ></ep-select>
                        <ep-select colspan="8" label="伤害部位2" name="alc043" :property="form.alc043" placeholder=""
                                  p="D"  codetype="ALC043" ></ep-select>
                        <ep-select colspan="8" label="伤害部位3" name="alc044" :property="form.alc044" placeholder=""
                                  p="D"  codetype="ALC044" ></ep-select></el-row>    
                    
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="职业病名称1" name="ala017" :property="form.ala017" placeholder=""
                                  p="D"  codetype="ALA017">
                        </ep-select>
                       
                    <ep-date colspan="8" label="劳动能力鉴定日期"  name="alc034" :property="form.alc034" placeholder="" 
									p="D" ></ep-date>
                   <ep-select colspan="8" label="伤残等级" name="ala040" :property="form.ala040" placeholder=""
									p="D" codetype="ALA040"  ></ep-select>
                    </el-row>
                    <el-row :gutter="10">
                    <ep-select colspan="8" label="生活自理障碍等级" name="alc060" :property="form.alc060" placeholder=""
									p="D" codetype="ALC060"  ></ep-select>
                    <ep-date colspan="8" label="因工死亡日期"  name="alc040" :property="form.alc040" placeholder=""
									p="D" ></ep-date>      
                     <ep-input colspan="8" label="老工伤标识" name="bae476" :property="form.bae476" placeholder=""
									p="D" ></ep-input>                          
                    </el-row>
                </el-card>
            </el-collapse-item>
            <el-collapse-item title="医疗费用信息"  name="2">
                    <el-card class="ep-card">
                            <el-row :gutter="10">
                                <ep-input colspan="8" label="西药费" name="blc202" :property="form.blc202"  placeholder="请输入西药费"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="中成药" name="blc203" :property="form.blc203"  placeholder="请输入中成药"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="中草药" name="blc204" :property="form.blc204" placeholder="请输入中草药" 
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="床位费" name="blc219" :property="form.blc219" placeholder="请输入床位费" 
                                     p="E" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="诊察费" name="blc205" :property="form.blc205"  placeholder="请输入诊察费"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="检查费" name="blc206" :property="form.blc206"  placeholder="请输入检查费"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="检验费" name="blc207" :property="form.blc207" placeholder="请输入检验费" 
                                     p="E" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="治疗费" name="blc213" :property="form.blc213"  placeholder="请输入治疗费"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="手术费" name="blc208" :property="form.blc208"  placeholder="请输入手术费"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="输血费" name="blc209" :property="form.blc209" placeholder="请输入输血费" 
                                     p="E" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="护理费" name="blc210" :property="form.blc210"  placeholder="请输入护理费"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="材料费" name="blc214" :property="form.blc214"  placeholder="请输入材料费"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="其他" name="blc211" :property="form.blc211" placeholder="请输入其他费用" 
                                     p="E" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="住院公务员补助扣除" name="blc199" :property="form.blc199"  placeholder="请输入住院公务员补助扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="住院统筹基金扣除" name="blc200" :property="form.blc200"  placeholder="请输入住院统筹基金扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="其他费扣除" name="blc212" :property="form.blc212" placeholder="请输入其他费扣除" 
                                     p="E" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="住院药品费" name="blc186" :property="form.blc186"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="住院药品费扣除" name="blc187" :property="form.blc187"  placeholder="请输入住院药品费扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="核定药品费" name="blc179" :property="form.blc179" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="住院床位费" name="blc190" :property="form.blc190"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="床位费直接扣除" name="blc188" :property="form.blc188"  placeholder="请输入床位费直接扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="床位费扣除" name="blc189" :property="form.blc189" placeholder="" 
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="核定床位费" name="blc191" :property="form.blc191" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>
                            
                            <el-row :gutter="10">
                                <ep-input colspan="8" label="住院检查费" name="blc193" :property="form.blc193"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="住院检查费扣除" name="blc194" :property="form.blc194"  placeholder="请输入住院检查费扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="核定检查费" name="blc180" :property="form.blc180" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="住院治疗费" name="blc197" :property="form.blc197"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="住院治疗费扣除" name="blc198" :property="form.blc198"  placeholder="请输入住院治疗费扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="核定治疗费" name="blc181" :property="form.blc181" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="住院材料费" name="blc195" :property="form.blc195"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="住院材料费扣除" name="blc196" :property="form.blc196"  placeholder="请输入住院材料费扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="核定材料费" name="blc182" :property="form.blc182" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="申报总金额" name="blc183" :property="form.blc183"  placeholder="请输入申报总金额"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="住院费用" name="blc192" :property="form.blc192"  placeholder="请输入住院费用"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="住院费扣除合计" name="blc215" :property="form.blc215" placeholder="" 
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="核定住院费用" name="blc178" :property="form.blc178" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="门诊费" name="blc184" :property="form.blc184"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="门诊费扣除" name="blc185" :property="form.blc185"  placeholder="请输入门诊费扣除"
                                     p="E" ></ep-input>
                                <ep-input colspan="8" label="核定门诊费" name="blc177" :property="form.blc177" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-date colspan="8" label="入院日期" name="alc080" :property="form.alc080"  placeholder="请选择入院日期"
                                     p="E" ></ep-date>
                                <ep-date colspan="8" label="出院日期" name="alc081" :property="form.alc081"  placeholder="请选择出院日期"
                                     p="E" ></ep-date>
                                <ep-select colspan="8" label="结算方式" name="bae329" :property="form.bae329" placeholder="请选择结算方式" 
                                     p="E" codetype="BAE329" ></ep-select>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="住院床日" name="blc003" :property="form.blc003"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="住院伙食费" name="blc216" :property="form.blc216"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="核定医疗费" name="blc176" :property="form.blc176" placeholder="" 
                                     p="D" ></ep-input>
                            </el-row>

                            <el-row :gutter="10">
                                <ep-input colspan="8" label="交通事故理赔额" name="blc217" :property="form.blc217"  placeholder=""
                                     p="D" ></ep-input>
                                <ep-input colspan="8" label="单位垫付额" name="blc218" :property="form.blc218"  placeholder=""
                                     p="D" ></ep-input>
                            </el-row>
                    </el-card>
            </el-collapse-item>
            <el-collapse-item title="待遇发放信息"  name="3">
                    <el-card class="ep-card">
                            <el-row :gutter="10">
                        <ep-select colspan="8" label="发放银行" name="aaz065" :property="form.aaz065" placeholder="请选择发放银行"
                                   p="R" :datas="{formData: form}" codetype="AAZ065" rules="this.$rules.test_noBlank"></ep-select>
                        <ep-input  colspan="8" label="银行账号" name="aae010" :property="form.aae010" placeholder="请输入银行账号"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                        <ep-input  colspan="8" label="银行开户名" name="aae009" :property="form.aae009" placeholder="请输入银行开户名"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                    </el-row>
                    <el-row :gutter="10">
                        <epl-search-bank colspan="8" label="开户行行号" name="aaf002" :property="form.aaf002" placeholder="请选择开户行行号"
                                         p="R" :datas="{formData: form}" codetype="AAZ065" bankName="aaz065" show rules="this.$rules.test_noBlank"></epl-search-bank>
                        <ep-input  colspan="16" label="开户银行名称" name="bac049" :property="form.bac049"
                                   p="R,D" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                    </el-row>
                </el-card>
            </el-collapse-item>
          </el-collapse>
          </el-form>
               <el-card class="ep-card">

               <el-row type="flex" justify="center">
                    <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"  @formValidate="formValidate" 
                                    :validate="['form']"   :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                    <ep-button id="cal01" top="20" type="primary" api="doCalculate" bottom="20"
                         :datas="{formData: form,tableData1:tableData1}" name="计算"></ep-button>
               </el-row>
               </el-card>
        </el-main>
    </el-main>
</template>


<script src="../js/MedFeeReimburseJS.js"></script>
